package com.javasoft.entity.WJC;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;


@Data
@Entity
@Table(name="paper_rule_entity")
public class paperRuleEntity {
    @Id
    @TableId(value = "paper_rule_id",type = IdType.AUTO)
    private Long paperRuleId;
    @Column(name="exam_name")
    private String examName;
    @Column(name="subject")
    private String subject;
    @Column(name="start_time")
    private LocalDateTime startTime;
    @Column(name="end_time")
    private LocalDateTime endTime;
    @Column(name="num_sin_choice")
    private int numSinChoice;
    @Column(name="num_mul_choice")
    private int numMulChoice;
    @Column(name="score_choice")
    private int scoreChoice;
    @Column(name="num_fill")
    private int numFill;
    @Column(name="score_fill")
    private int scoreFill;
    @Column(name="num_sub")
    private int numSub;
    @Column(name="score_sub")
    private int scoreSub;
    @Column(name="creat_time")
    private LocalDateTime creatTime;
    @Column(name="dif_rank")
    private Integer difRank;
}
